package com.kaf.ai.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.function.client.WebClient;


@Configuration
public class WebClientConfig {

    private static final String DEEPSEEK_API_URL = "https://api.deepseek.com/v1/";

    @Bean
    public WebClient webClient() {
        return WebClient.builder()
                .baseUrl(DEEPSEEK_API_URL)
                .defaultHeader("Authorization", "Bearer sk-88a70d5f6e1b4751944539ffcdd6ef8b")
                .defaultHeader("Content-Type", "application/json")
                .build();
    }
}
